﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZP.DTO.Common;
using ZP.DTO.ep_base_info;
using ZP.DTO.ep_honor_title;
using ZP.DTO.ht_honor_title;
using ZP.DTO.ht_type1_title;
using ZP.Model;

namespace ZP.IBLL
{
    public interface Iht_honor_titleService : IBaseService<ht_honor_title, int>
    {
        /// <summary>
        /// 查询所有用户信息(含模糊查询)分页
        /// </summary>
        /// <returns></returns>
        List<EPHonorResultDTO> GetEPHonorList(int ep_id);
        /// <summary>
        /// 根据企业ID和荣誉ID查询对应的附件信息列表
        /// </summary>
        /// <param name="ep_id">企业ID</param>
        /// <param name="ht_id">荣誉ID</param>
        /// <returns></returns>
        List<EPTitleFileResultDTO> GetTitleFile(int ep_id, int ht_id);
        /// <summary>
        /// 荣誉标题-模分页模糊查询
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        PageModel<ht_honor_titleResultDTO> GetHonorTitle(ht_honor_titleSearchDTO dto);
        /// <summary>
        /// 获得所有荣誉标题
        /// </summary>
        /// <returns></returns>
        List<ht_honor_titleResultDTO> GetAllEPHonorTitle(int? ht_type);
        /// <summary>
        /// 保存荣誉标题
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        bool SaveEPHonor(ht_honor_titleOperateDTO dto);
        /// <summary>
        /// 删除荣誉标题
        /// </summary>
        /// <param name="dto"></param>
        /// <param name="loginUser"></param>
        /// <returns></returns>
        bool DeleteEPHonor(List<ht_honor_titleOperateDTO> dto, UserLoginDTO loginUser);
    }
}
